package com.imooc.web.wiremock;

import static com.github.tomakehurst.wiremock.client.WireMock.*;

public class WireMockServer {
    public static void main(String[] args) {
        configureFor(8000);
        removeAllMappings();
        String body="{\"id\":1}";
        stubFor(get(urlPathEqualTo("/order/1")).willReturn(aResponse().withBody(body).withStatus(200)));
    }
}
